			<div class="full_w">
				<div class="h_title">New Article</div>
				<form action="handlers/addArticle.php" method="post" enctype="multipart/form-data">
					<div class="element">
						<label for="title">Title <span class="red">(required)</span></label>
						<input id="title" name="title" class="text" />
					</div>
					<div class="element">
						<label for="image">Image </label>
						<input type="file" name="image" />
					</div>
					<div class="element">
						<label for="importance">Importance </label>
						<select name="importance">
							<option value="1">1</option>
							<option value="2">2</option>
							<option value="3">3</option>
							<option value="4">4</option>
							<option value="5">5</option>
							<option value="6">6</option>
							<option value="7">7</option>
							<option value="8">8</option>
							<option value="9">9</option>
							<option value="10">10</option>
						</select>
					</div>
					<div class="element">
						<label for="featured">Featured </label>
						<input type="radio" name="featured" value="1" checked="checked" /> Yes <input type="radio" name="featured" value="0" /> No
					</div>
					<div class="element">
						<label for="text">Text</label>
						<textarea name="text" class="textarea" rows="10"></textarea>
					</div>
					<div class="entry">
						<button type="submit" class="add">Save Article</button> <button class="cancel">Cancel</button>
					</div>
				</form>
				<div class="n_ok"><p>Success notification. Lorem ipsum dolor sit amet, consetetur, sed diam nonumyeirmod tempor.</p></div>
				<div class="n_error"><p>Error notification. Lorem ipsum dolor sit amet, consetetur, sed diam nonumyeirmod tempor.</p></div>		
			</div>
			
			<div class="full_w">
				<div class="h_title">Articles</div>
				<h2>List of Articles</h2>
				<p>You can change, add or delete articles here.</p>
				
				<div class="entry">
					<div class="sep"></div>
				</div>
				<table>
					<thead>
						<tr>
							<th scope="col">ID</th>
							<th scope="col">Title</th>
							<th scope="col">Date</th>
							<th scope="col" style="width: 65px;">Modify</th>
						</tr>
					</thead>
						
					<tbody>
                    <?php
						$niz = getAllArticles();
						if (count($niz)) {
						foreach ($niz as $art) {
					?>
						<tr>
							<td class="align-center"><?php echo $art->id; ?></td>
							<td><?php echo $art->naslov; ?></td>
							<td><?php echo $art->datum; ?></td>
							<td>
								<a href="#" class="table-icon edit" title="Edit"></a>
								<a href="#" class="table-icon archive" title="Make Active"></a>
								<a href="handlers/deleteArticle.php?id=<?php echo $art->id; ?>" class="table-icon delete" title="Delete"></a>
							</td>
						</tr>
                    <?php
						}
						}
					?>
					</tbody>
				</table>
				<div class="entry">
					<div class="pagination">
						<span>« First</span>
						<span class="active">1</span>
						<a href="">2</a>
						<a href="">3</a>
						<a href="">4</a>
						<span>...</span>
						<a href="">23</a>
						<a href="">24</a>
						<a href="">Last »</a>
					</div>
					<div class="sep"></div>		
					<a class="button add" href="">Add new Article</a> 
				</div>
			</div>
